[INFO] cloning repository https://github.com/alycege/learn-simulation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alycege/learn-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falycege%2Flearn-simulation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falycege%2Flearn-simulation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8ee55e0bb71c8364eac0c714518849dd3dfd9c3
[INFO] building alycege/learn-simulation against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falycege%2Flearn-simulation" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/alycege/learn-simulation on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/alycege/learn-simulation
[INFO] finished tweaking git repo https://github.com/alycege/learn-simulation
[INFO] tweaked toml for git repo https://github.com/alycege/learn-simulation written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/alycege/learn-simulation already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eae19384f856fc614779a481d53cc9685f9518e9774d463898837f4b4eae4207
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "eae19384f856fc614779a481d53cc9685f9518e9774d463898837f4b4eae4207", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eae19384f856fc614779a481d53cc9685f9518e9774d463898837f4b4eae4207", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eae19384f856fc614779a481d53cc9685f9518e9774d463898837f4b4eae4207", kill_on_drop: false }`
[INFO] [stdout] eae19384f856fc614779a481d53cc9685f9518e9774d463898837f4b4eae4207
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed55ff6689ef1bb2d4e3654819f7adf2755a9119b3e4a9edecd100c5c47a6820
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ed55ff6689ef1bb2d4e3654819f7adf2755a9119b3e4a9edecd100c5c47a6820", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling syn v1.0.44
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand_distr v0.3.0
[INFO] [stderr]    Compiling structopt-derive v0.4.12
[INFO] [stderr]    Compiling structopt v0.3.19
[INFO] [stderr]    Compiling coral_reef v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated struct `rand::distributions::StandardNormal`: moved to rand_distr crate
[INFO] [stdout]  --> src/bin/secretary_problem.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::distributions::{Distribution, StandardNormal};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::distributions::StandardNormal`: moved to rand_distr crate
[INFO] [stdout]  --> src/bin/secretary_problem.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::distributions::{Distribution, StandardNormal};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `structopt::StructOpt`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use structopt::StructOpt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 6 arguments but 7 arguments were supplied
[INFO] [stdout]   --> src/main.rs:49:24
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let option_price = simulate_option_price(1000, 100.0, 10, 0.25, 5.0, 140.0, 145.0);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ ----  -----  --  ----  ---  -----  ----- supplied 7 arguments
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected 6 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn simulate_option_price(num_iterations: usize, init_price: f64, n_steps: usize, mu: f64, sigma_sq: f64, barrier: BarrierOption) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^ ---------------------  ---------------  --------------  -------  -------------  ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::distributions::StandardNormal`: moved to rand_distr crate
[INFO] [stdout]   --> src/bin/secretary_problem.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let v: Vec<f64> = StandardNormal.sample_iter(rng).take(n).collect();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `coral_reef`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: function is never used: `number_generator`
[INFO] [stdout]   --> src/bin/secretary_problem.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn number_generator(n: usize) -> std::vec::Vec<f64> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "ed55ff6689ef1bb2d4e3654819f7adf2755a9119b3e4a9edecd100c5c47a6820", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed55ff6689ef1bb2d4e3654819f7adf2755a9119b3e4a9edecd100c5c47a6820", kill_on_drop: false }`
[INFO] [stdout] ed55ff6689ef1bb2d4e3654819f7adf2755a9119b3e4a9edecd100c5c47a6820
